Why use spaces instead of tabs for indentation? [closed]

Posted by erenon on Stack Overflow See other posts from Stack Overflow or by erenon
Published on 2010-02-25T14:47:41Z Indexed on 2010/04/26 17:03 UTC
Read the original article Hit count: 254

Possible Duplicate:
Are spaces preferred over tabs for indentation?

Why do most coding standards recommend the use of spaces instead of tabs? Tabs can be configured to be as many characters wide as needed, but spaces can't.

Example:

Pear manual:

This helps to avoid problems with diffs, patches, SVN history and annotations.

How could tabs cause problems?

© Stack Overflow or respective owner

Related posts about coding-style

Related posts about coding-standards